import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import getters from './getters'
import commons from './modules/commons'
import activityManager from './modules/activityManager'
import awardManager from './modules/awardManager'
import recordManager from './modules/recordManager'
import vipManager from './modules/vipManager'
import userManager from './modules/userManager'
import applyTemplateManager from './modules/applyTemplateManager'
import tagsview from './modules/tagsview'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
    commons,
    activityManager,
    awardManager,
    recordManager,
    vipManager,
    userManager,
    applyTemplateManager,
    tagsview
  },
  getters
})

export default store